﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Web.Master" AutoEventWireup="true" CodeBehind="payment.aspx.cs" Inherits="web.payment.payment" %>

<%@ Register TagPrefix="url" Namespace="ActionlessForm" Assembly="ActionlessForm" %>
<%@ Register Src="~/ErrorControl.ascx" TagPrefix="uc1" TagName="ErrorControl" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder_Content" runat="server">
    <%if (error)
      {%>
    <uc1:ErrorControl runat="server" ID="ErrorControl" />
    <%}
      else
      { %>
    <br />
    订单号：<%=info.OrderID %><br />
    订单：<%=info.Title %><br />
    价格：<%=info.TotalPrice %><br />
    <table style="width: 100%; text-align: center;">
        <tr>
            <th>产品</th>
            <th>单价</th>
            <th>数量</th>
        </tr>
        <asp:Repeater ID="Repeater1" runat="server">
            <ItemTemplate>
                <tr>
                    <td><%#Eval("Producttitle") %></td>
                    <td><%#Eval("price") %></td>
                    <td><%#Eval("counts") %></td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table>
    <url:Form runat="server">
        <asp:Button ID="Button_PayMent" OnClick="Button_PayMent_Click" runat="server" Text="现在支付" />
    </url:Form>
    <%} %>
</asp:Content>
